SetQDRegion
Mac OSThe
SetQDRegion
method modifies this shape to make it equivalent to the specified QuickDraw region.
void SetQDRegion (in ODRgnHandle rgn);
rgn
- A non-null QuickDraw region.
DISCUSSION
After this method executes successfully, the QuickDraw region is owned by this shape; you cannot modify it or deallocate its storage.This method calls the
SetPlatformShape
method to assign the QuickDraw region.EXCEPTIONS
kODErrInvalidGraphicsSystem
- The QuickDraw graphics system is not installed or available.
kODErrInvalidPlatformShape
- This shape is a null region.
SEE ALSO
TheODRgnHandle
type (page 884).
TheODShape::GetQDRegion
method (page 640).
TheODShape::SetPlatformShape
method (page 650).
Listing 2-22 on page 72 in OpenDoc Cookbook.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help